package cn.francis.shen1.p.isp;

import org.springframework.stereotype.Service;

@Service
public class Order implements IOrderForAdmin, IOrderForOtherSys {

    //return other sys
//    public static IOrderForOtherSys getOrderForOtherSys() {
//        return new Order();
//    }

    //return admin
//    public static IOrderForAdmin getOrderForAdmin() {
//        return new Order();
//    }

    @Override
    public String getOrder() {
        return "return order";
    }

    @Override
    public void insertOrder() {
        System.out.println("insert");
    }

    @Override
    public void updateOrder() {
        System.out.println("update");
    }

    @Override
    public void deleteOrder() {
        System.out.println("delete");
    }
}
